<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="cn.firstsoft.modules.workflow.domain.WorkflowFilePrintInfo" table="workflow_FilePrintInfo">
        <id name="id" type="integer">
            <column name="id" />
            <generator class="native" >
				<param name="sequence">WORKFLOWFILEPRINTINFO_ID_SEQ</param>
            </generator>
        </id>
        <property name="applyTime" type="timestamp">
            <column name="applyTime" length="23" />
        </property>
        <property name="printTime" type="timestamp">
            <column name="printTime" length="23" />
        </property>
        <property name="solveTime" type="timestamp">
            <column name="solveTime" length="23" />
        </property>
        <property name="status" type="integer">
            <column name="status" not-null="true" />
        </property>
        
        <many-to-one name="applyUser" class="org.springside.modules.security.domain.User" fetch="select">
      		  <column name="applyUser_id"/> 
        </many-to-one>
        
       <many-to-one name="solveUser" class="org.springside.modules.security.domain.User" fetch="select">
      		  <column name="solveUser_id"/> 
        </many-to-one>
        
         <many-to-one name="workflowFileinbox" class="cn.firstsoft.modules.workflow.domain.WorkflowFileinbox" fetch="select">
      		  <column name="workflowFileinbox_id"/> 
        </many-to-one>
      
    </class>
</hibernate-mapping>